package FourArithmeticOperations;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.ListIterator;

/**
 * Created by dell on 2017/10/23.
 */
public class bigtree {
    public static void main(String[] args) {
        LinkedBinarySearchTree<Integer> tree = new LinkedBinarySearchTree<>();
        for(int i=0;i<50;i++){
            tree.add(i*3);
        }
        ArrayList<Integer> ite = tree.levelorder();
        for(int i : ite)
            System.out.print(i+" ");
        System.out.println("");
        System.out.println( tree.findMax());
        System.out.println(tree.findMin());
    }

}
